/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-5-14 上午11:02 Created by lyyang
 */
package com.xunton.bss.weixin.api.user.pdu;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xunton.bss.weixin.api.Response;

/**
 * 用户信息
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-5-14 上午11:02
 */
public class UserInfo extends Response
{


    private int subscribe;

    private String language;

    @JsonProperty ("subscribe_time")
    private long subscribeTime;

    private String remark;

    @JsonProperty ("group_id")
    private int groupId;

    @JsonProperty ("openid")
    private String openId;

    @JsonProperty ("nickname")
    private String nickName;

    private int sex;

    private String province;

    private String city;

    private String country;

    @JsonProperty ("headimgurl")
    private String headImgUrl;

    @JsonProperty ("privilege")
    private String[] privileges;

    @JsonProperty ("unionid")
    private String unionId;

    public String getOpenId()
    {
        return openId;
    }

    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getNickName()
    {
        return nickName;
    }

    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public int getSex()
    {
        return sex;
    }

    public void setSex(int sex)
    {
        this.sex = sex;
    }

    public String getProvince()
    {
        return province;
    }

    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getCity()
    {
        return city;
    }

    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCountry()
    {
        return country;
    }

    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getHeadImgUrl()
    {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl)
    {
        this.headImgUrl = headImgUrl;
    }

    public String[] getPrivileges()
    {
        return privileges;
    }

    public void setPrivileges(String[] privileges)
    {
        this.privileges = privileges;
    }

    public String getUnionId()
    {
        return unionId;
    }

    public void setUnionId(String unionId)
    {
        this.unionId = unionId;
    }

    public int getSubscribe()
    {
        return subscribe;
    }

    public void setSubscribe(int subscribe)
    {
        this.subscribe = subscribe;
    }

    public String getLanguage()
    {
        return language;
    }

    public void setLanguage(String language)
    {
        this.language = language;
    }

    public long getSubscribeTime()
    {
        return subscribeTime;
    }

    public void setSubscribeTime(long subscribeTime)
    {
        this.subscribeTime = subscribeTime;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public int getGroupId()
    {
        return groupId;
    }

    public void setGroupId(int groupId)
    {
        this.groupId = groupId;
    }
}
